package com.jinlia.show.modules.base.constant;

import com.jinlia.show.modules.base.constant.i.IBaseEnum;
import lombok.Getter;

public enum OrderActionTypeEnum implements IBaseEnum<Integer> {
    CREATE_ORDER(1, "下销售单(未支付)"),//下销售单=>生成配送单
    ORDER_PAY(2, "订单支付"),//下销售单=>生成配送单
    CREATE_DELIVERY(21, "生成配送单"),//下销售单=>生成配送单
    WAIT_DELIVERY(3, "商户接单(待配送)"),//待配送->配送
    ON_WAY(31, "商户配送(在途中)"),//动作->送达|客户取货(直接跳转到客户确认)
    ARRIVED(32, "商户送达(待顾客确认)"),
    DADA1(4,"达达下单"),
    DADA2(41,"达达接单"),
    DADA3(42,"达达配送"),
    DADA4(43,"达达送达"),
    USER_CONFIRM(6, "顾客确认(订单完成)");

    @Getter
    private Integer value;

    @Getter
    private String label;

    OrderActionTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }

}
